//
//  CutornButton.m
//  UI05-彩虹灯
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CutornButton.h"

@implementation CutornButton

+ (instancetype)customButtonWithFrame:(CGRect)frame title:(NSString *)title{
    CutornButton *button = [[CutornButton alloc]initWithFrame:frame];
    [button setTitle:title forState:UIControlStateNormal];
    button.backgroundColor = [UIColor orangeColor];
    return [button autorelease];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
